package observer;

public class BinaryObserver extends MyObserver {

    public BinaryObserver(Subject subject) {
        this.subject = subject;
        this.subject.attach(this);
    }



    @Override
    public void update() {
        System.out.println("Binary :" + subject.getState());
    }
}
